// src/utils/request.js
import axios from 'axios';

const request = axios.create({
    baseURL: 'http://localhost:8080', // 去掉末尾的 /api，避免路径重复
    timeout: 5000
});

export default request;